package cn.kgc.springcloud.clients;

import cn.kgc.springcloud.entity.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 课工场
 * @date 2024/10/24
 * @description
 */
@FeignClient("TAGSERVICE")
public interface TagClient {

    @GetMapping("/tags/{id}")
    Tag getTagById(@PathVariable("id") Integer id);
}
